﻿using System;
using System.Collections.Generic;
using System.Text;

using FCNS.Controls.Calendars;
using FCNS.KeepMoney.Util;

namespace FCNS.KeepMoney.Configuration
{
    /// <summary>
    /// 时间管理配置类
    /// </summary>
    public sealed class AceGtd
    {
        public AceGtd()
        {
        }

        bool sortByDate = true;
        public bool SortByDate
        {
            get { return sortByDate; }
            set { sortByDate = value; }
        }

        int backgroudImage = 1;
        public int BackgroundImage
        {
            get { return backgroudImage; }
            set { backgroudImage = value; }
        }

        bool defaultStyle = true;
        /// <summary>
        /// 获取或设置是否使用默认的显示样式
        /// </summary>
        public bool DefaultStyle
        {
            get { return defaultStyle; }
            set { defaultStyle = value; }
        }

        MonthCalendarStyle mcStyle = MonthCalendarStyle.Week;
        /// <summary>
        /// 获取或设置要显示的时间事务范围
        /// </summary>
        public MonthCalendarStyle CalendarStyle
        {
            get { return mcStyle; }
            set { mcStyle = value; }
        }               
    }
}
